#define  _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int a = 0;
	int n=0;
	int b=0;
	int c=0;
	int sum=0;
	for (a =9;a <= 100;a++)
	{
		if ((a % 10 == 9))
		{
			b = b + 1;
		}
		else {
			{
				n= a / 10;
				if (n % 10 == 9)
					c += 1;
			}
		}
		{
		}
		
	}
	printf("sum=%d", c+b+1);
	return 0;
}